package cn.ac.siom.query.service.impl;

import cn.ac.siom.query.dao.IaccessDAO;
import cn.ac.siom.query.service.IaccessService;
import cn.ac.siom.query.vo.Accessinfo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.sql.SQLException;

@Service
public class AccessServiceImpl implements IaccessService {

    @Resource
    private IaccessDAO accessDAO;

    @Override
    public boolean insertOne(Accessinfo vo) throws SQLException {
        return accessDAO.insertOne(vo);
    }
}
